import Vue from 'vue'
import Vuex from 'vuex'
import login from './modules/login'
import menu from './modules/menu/index'
import device from './modules/device/index'
import home from './modules/home'
import topo from './modules/topo/index'
import app from './modules/app'

Vue.use(Vuex)

export default new Vuex.Store({
  strict: process.env.NODE_ENV !== 'production',
  modules: {
    menu: menu,
    login: login,
    device: device,
    home: home,
    topo: topo,
    app: app
  }
})
